home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / machserver / include / dbg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-04-03  |  1.1 KB  |  45 lines

  1. /*
  2.  * dbg.h --
  3.  *
  4.  *    Stub debugger declarations.  This file may get more useful 
  5.  *    stuff put in it if we ever want to run the Sprite server 
  6.  *    standalone.
  7.  *
  8.  * Copyright 1991 Regents of the University of California
  9.  * Permission to use, copy, modify, and distribute this
  10.  * software and its documentation for any purpose and without
  11.  * fee is hereby granted, provided that this copyright
  12.  * notice appears in all copies.  The University of California
  13.  * makes no representations about the suitability of this
  14.  * software for any purpose.  It is provided "as is" without
  15.  * express or implied warranty.
  16.  *
  17.  * $Header: /user5/kupfer/spriteserver/include/RCS/dbg.h,v 1.3 92/04/02 18:46:43 kupfer Exp $ SPRITE (Berkeley)
  18.  */
  19.  
  20. #ifndef _DBG
  21. #define _DBG
  22.  
  23. #include <sprite.h>
  24. #include <stdlib.h>
  25.  
  26. /* Hack for source compatibility. */
  27. #define dbg_UsingNetwork    FALSE
  28.  
  29. /*
  30.  * Debugger using syslog to dump output of call command or not.
  31.  */
  32. #if 0
  33. extern    Boolean    dbg_UsingSyslog;
  34. #endif
  35. #define dbg_UsingSyslog    FALSE
  36.  
  37. /*
  38.  * Macro to get the debugger invoked.  Unlike in native Sprite, this
  39.  * call isn't continuable.
  40.  */
  41.  
  42. #define DBG_CALL    abort()
  43.  
  44. #endif /* _DBG */
  45.